<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="w" uri="http://www.groupwareworkbench.org.br/widgets/commons" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="Cache-Control" content="no-cache">
        <title>Configura&ccedil;&atilde;o de Not&iacute;cias</title>
        <link rel="shortcut icon" type="image/x-icon" href="${pageContext.request.contextPath}/images/favicon.ico" />
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/common.css" />
        <script type="text/javascript" src="${pageContext.request.contextPath}/js/listagem.js"></script>
        <script type="text/javascript">
            function copiarBanco() {
                window.location.href = "<c:url value="/groupware-workbench/news/${newsMgr.id}/copyNewsFromAUN" />";
            }
        </script>
    </head>
    <body>
        <w:topo collabletInstance="${newsMgr.collablet}" />
        <w:conteudoPagina titulo="Configura&ccedil;&otilde;es de Not&iacute;cias:">
            <%-- TODO: Tableless. --%>
            <table cellpadding="3">
                <tr>
                    <td>Copiar registros do Banco de Dados AUN: </td>
                    <td>
                        <input type="button" class="botao" onclick="copiarBanco()" value="Confirma" />
                    </td>
                </tr>
            </table>
            <div class="barra_botoes">
                <w:voltar collabletInstance="${newsMgr.collablet}" />
            </div>
        </w:conteudoPagina>
        <br />
    </body>
</html>